package com.qf.xiaomi.service;

import com.qf.xiaomi.pojo.OrderDetail;
import com.qf.xiaomi.pojo.TbAddress;
import com.qf.xiaomi.pojo.TbCartList;
import com.qf.xiaomi.pojo.TbOrder;

import java.util.List;
import java.util.Map;

/**
 * Created by 田贵宾 on 2022/8/20 9:45
 *
 * @author 田贵宾
 * @version 1.0
 * //TODO java练习阶段
 * @since 1.0
 */
public interface orderService {

    public List<TbOrder> selectAll(long uid);

    public List<TbAddress> selectAddressByUid(long uid);

    Map createOrder(long aid, long uid, TbCartList cart);

    List<TbOrder> selectOrderByUid(long uid);

    void updateStatus(String oid, String s);

    OrderDetail findByOid(OrderDetail order, String oid);
}
